<%--
  Created by IntelliJ IDEA.
  User: 黄斯灏
  Date: 2020/11/18
  Time: 11:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>数据展示</title>
</head>
<body>
<div>
    <table border="1" cellspacing="0" width="500px">
        <caption>快递员信息</caption>
        <tr>
            <td>工号</td>
            <td>昵称</td>
            <td>性别</td>
            <td>电话</td>
        </tr>
        <c:forEach items="${couriers}" var="courier">
            <tr>
                <td>${courier.cid}</td>
                <td>${courier.nickname}</td>
                <td>${courier.sex}</td>
                <td>${courier.phone}</td>
            </tr>
        </c:forEach>
    </table>
</div>
<div style="margin-top: 100px">
    <table border="1" cellspacing="0" width="200px">
        <caption>龙虎榜</caption>
        <tr>
            <td>排名</td>
            <td>昵称</td>
            <td>送件数</td>
        </tr>
        <c:forEach items="${rankings}" var="ranking">
            <tr>
                <td>${ranking.rid}</td>
                <td>${ranking.nickname}</td>
                <td>${ranking.expressNum}</td>
            </tr>
        </c:forEach>
    </table>
</div>


</body>
</html>
